package com.china08.yxyapi.entity.db.yxy;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

@Entity
@Table(name = "yxy_yxy_ques_exam_know", catalog = "yxy_yxy")
@DynamicInsert
@DynamicUpdate
public class YxyQuesExamKnow implements Serializable {

    /**
     * 
     */
    private static final long serialVersionUID = -5914866783809287250L;

    @Id
    @GeneratedValue
    private Integer id;

    @Column(name = "subject")
    private String subject;

    @Column(name = "know_id")
    private Integer knowId;

    @Column(name = "exampoint_id")
    private Integer exampointId;

    @Column(name = "ordernum")
    private Integer ordernum = 0;

    @Column(name = "delete_flag", columnDefinition = "COMMENT '1:删除，0：未删除'")
    private Integer deleteFlag;

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public Integer getKnowId() {
        return knowId;
    }

    public void setKnowId(Integer knowId) {
        this.knowId = knowId;
    }

    public Integer getExampointId() {
        return exampointId;
    }

    public void setExampointId(Integer exampointId) {
        this.exampointId = exampointId;
    }

    public Integer getOrdernum() {
        return ordernum;
    }

    public void setOrdernum(Integer ordernum) {
        this.ordernum = ordernum;
    }

    public Integer getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(Integer deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

}
